﻿<%@ Page Title="本地主机名称管理" Language="C#" MasterPageFile="~/Web/Main.Master" AutoEventWireup="true" CodeBehind="sysWinceName.aspx.cs" Inherits="BOMS.WebUI.sysWinceName" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="gv">
    <div class="gvtop"><span>现场主机标识管理</span></div>
    <asp:GridView ID="GridView_Name" runat="server" AutoGenerateColumns="False" DataKeyNames="id" 
    onrowcommand="GridView_User_RowCommand" onrowdatabound="GridView_User_RowDataBound" GridLines="None" 
    CssClass="gvname" HorizontalAlign="Center" CellSpacing="1" width="100%"
    onrowcancelingedit="GridView_Name_RowCancelingEdit" onrowediting="GridView_Name_RowEditing"
    onrowupdating="GridView_Name_RowUpdating">
        <Columns>
            <asp:BoundField DataField="id" HeaderText="序号" ReadOnly="True" />
            <asp:BoundField DataField="mac" HeaderText="Mac地址" ReadOnly="True" />
            <asp:BoundField DataField="ip" HeaderText="IP" ReadOnly="True" />
            <asp:BoundField DataField="HostName" HeaderText="名称" ><ControlStyle Width="120px" height="18px"/></asp:BoundField>
            <asp:CommandField ButtonType="Button" HeaderText="编辑" ShowEditButton="True" />
            <asp:ButtonField ButtonType="Button" CommandName="delUser" HeaderText="删除" Text="删除" />
        </Columns>
            <FooterStyle CssClass="FooterStyle" />
            <RowStyle CssClass="gvrowstyle" />
            <EmptyDataRowStyle CssClass="EmptyRowStyle" />
            <PagerStyle CssClass="PagerStyle" />
            <SelectedRowStyle CssClass="SelectedRowStyle" />
            <HeaderStyle CssClass="gvtitle" />  
            <AlternatingRowStyle CssClass="gvalternatingrowstyle" />
    </asp:GridView>
</div>
</asp:Content>
